import request from "@/utils/request.js";

/**
 * 圈子管理接口
 */

/**
 * 莺惭燕妨接口
 */

// 莺惭燕妨查看接口
export function getWifeData(params){
    return request({
        url:"/api/wifes",
        method:"get",
        params
    });
};
// 莺惭燕妨新增接口
export function insertWifeData(params){
    return request({
        url:"/api/wifes/add",
        method:"post",
        data:params
    });
};
// 莺惭燕妨编辑接口
export function updateWifeData(id,params){
    return request({
        url:"/api/wifes/edit/"+id,
        method:"post",
        data:params
    });
};
// 莺惭燕妨删除接口
export function deleteWifeData(id){
    return request({
        url:"/api/wifes/delete/"+id,
        method:"delete"
    });
};
// 莺惭燕妨角色关系查询接口
export function getRoleWifeData(params){
    return request({
        url:"/api/wifes/viewRoleWife",
        method:"get",
        params
    });
};